package com.hex.ds.hdtp.core.inf.data.table.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Package com.hex.ds.hdtp.core.inf.data.table.po
 * @ClassName TableTransferTaskPo
 * @Description 表迁移任务-PO对象
 * @Author Wang zhihao
 * @Date 2023/8/8 18:42
 * @Version v1.0
 **/
@Data
@TableName(value = "tm_table_transfer_task")
public class TableTransferTaskPo implements Serializable {

    @TableId(value = "pk_id", type = IdType.ASSIGN_UUID)
    private String pkId;

    @TableField(value = "task_name")
    private String taskName;

    @TableField(value = "transfer_method")
    private String transferMethod;

    @TableField(value = "source_conn_pk_id")
    private String sourceConnPkId;

    @TableField(value = "target_conn_pk_id")
    private String targetConnPkId;

    @TableField(value = "transfer_total")
    private Integer transferTotal;

    @TableField(value = "transfer_success_count")
    private Integer transferSuccessCount;

    @TableField(value = "transfer_fail_count")
    private Integer transferFailCount;

    @TableField(value = "transfer_status")
    private String transferStatus;

    @TableField(value = "start_time")
    private String startTime;

    @TableField(value = "end_time")
    private String endTime;

    @TableField(value = "crt_user" , fill = FieldFill.INSERT)
    private String crtUser;

    @TableField(value = "crt_user_name" , fill = FieldFill.INSERT)
    private String crtUserName;

    @TableField(value = "crt_ts" , fill = FieldFill.INSERT)
    private String crtTs;

    @TableField(value = "up_user" , fill = FieldFill.INSERT_UPDATE)
    private String upUser;

    @TableField(value = "up_user_name" , fill = FieldFill.INSERT_UPDATE)
    private String upUserName;

    @TableField(value = "up_ts" , fill = FieldFill.INSERT_UPDATE)
    private String upTs;

}
